package com.wang.user.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 商铺
 * @TableName shop
 */
@TableName(value ="shop")
@Data
public class Shop {
    /**
     * 
     */
    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 商铺名称
     */
    @TableField(value = "name")
    @ApiModelProperty(value = "商铺名称")
    private String name;

    /**
     * 分类
     */
    @TableField(value = "shop_type")
    @ApiModelProperty(value = "商铺分类")
    private String shopType;

    /**
     * 商铺位置
     */
    @TableField(value = "location")
    @ApiModelProperty(value = "商铺位置")
    private String location;


    /**
     * 营业时间
     */
    @TableField(value = "business_hours")
    @ApiModelProperty(value = "营业时间")
    private String businessHours;

    /**
     * 商铺封面图片url
     */
    @TableField(value = "image_url")
    @ApiModelProperty(value = "商铺封面图片url")
    private String imageUrl;

    /**
     * 评分分数
     */
    @TableField(value = "score")
    @ApiModelProperty(value = "评分分数")
    private BigDecimal score;

    /**
     * 评分等级【1-5星】
     */
    @TableField(value = "score_level")
    @ApiModelProperty(value = "评分等级【1-5星】")
    private Integer scoreLevel;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}